Full List of Supported HTTP Responses
The following HTTP responses are used by the REST API:
|
■
|
200 OK – indicates successful request completion. |
|
■
|
201 Created – indicates the creation of a new resource. |
|
■
|
204 No Content – indicates that no items are found in response to a discovery request. |
|
■
|
400 Bad Request – indicates a request failure due to an invalid input. |
|
■
|
401 Unauthorized – indicates a request failure due to incorrect authentication credentials. |
|
■
|
403 Forbidden – indicates a request failure due to an authorization failure (i.e. URL exists; however the user is not authorized to access it). |
|
■
|
404 Not Found – indicates an invalid URL. |
|
■
|
405 Method Not Allowed – indicates that the HTTP method is not supported on the specific URL/resource. |
|
■
|
406 Not Acceptable – indicates that the client included “Accept:” header in a request that doesn’t include the format used by the server (for most URLs it’s “application/JSON”). |
|
■
|
409 Conflict – indicates a failure due to “intermittent” reason (e.g. synchronization with the redundant device is in progress). |
|
■
|
500 Internal Server Error – indicates an internal failure. |